home *** CD-ROM | disk | FTP | other *** search
/ Scene Storm / Scene Storm - Volume 1.iso / coding / c / amiexpress / source / ae / code / ax3.00 / closeserial.c < prev    next >
Encoding:
C/C++ Source or Header  |  1980-01-03  |  300 b   |  14 lines

  1. #include "bbs.h"
  2.  
  3. void CloseSerial(void)
  4. {
  5.  if(SEROUT) {
  6.         CloseDevice(ReadSerReq);
  7.         DeleteExtIO(ReadSerReq);
  8.         DeletePort(ReadSerPort);
  9.         DeleteExtIO(WriteSerReq);
  10.         DeletePort(WriteSerPort);
  11.     }
  12.   SEROUT = 0;                /*(RTS) was missing till now Mon Jun  8 03:59:03 1992 */
  13. }
  14.